package org.sardine.beans;

import org.apache.log4j.Logger;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;

public class SimpleErrorHandler implements ErrorHandler{
	
	private final Logger log;
	
	public SimpleErrorHandler(Logger log){
		this.log = log;
	}

	public void error(SAXParseException e) throws SAXException {
		throw e;
		
	}

	public void fatalError(SAXParseException e) throws SAXException {
		throw e;
		
	}

	public void warning(SAXParseException e) throws SAXException {
		throw e;
		
	}

}
